import _fetch from './request.js'

function getEnterpriseList(params) {
    return _fetch({
        url: '/enterprise/list',
        params
    });
}

function enterpriseStatus(data) {
    return _fetch({
        url: '/enterprise/status',
        method: 'post',
        data
    })
}

function enterpriseRemove(data) {
    return _fetch({
        url: '/enterprise/remove',
        method: 'post',
        data
    })
}

function enterpriseAdd(data) {
    return _fetch({
        url: '/enterprise/add',
        method: 'post',
        data
    });
}

function enterpriseEdit(data) {
    return _fetch({
        url: '/enterprise/edit',
        method: 'post',
        data
    })
}
export { getEnterpriseList, enterpriseStatus, enterpriseRemove, enterpriseAdd, enterpriseEdit }